package jdbc;

import java.sql.SQLException;

public class ConnOracle {

  public static void main(String[] args) throws SQLException {
    OracleJdbcTest test = new OracleJdbcTest();
    try {
      //test.query("select sysdate FROM DUAL",true);
      test.query("select * FROM EMPLOYEE", true);
    } catch (SQLException e) {
    }

  /*  test.query("create table student(id int, name nchar(20))");

    test.query("insert into student values(1,'zhangsan')");

    test.query("insert into student values(2,'lisi')");

    test.query("select * from student", true);*/

    test.close();
  }
}
